//
//  CDVWechat.h
//  cordova-plugin-adam-wechat
//
//  Created by xu.li on 12/23/13.
//
//

#import <Cordova/CDV.h>
#import "WWKApi.h"
#import "WWKApiObject.h"

enum  CDVEnterpriseWechatSharingType {
    CDVEWXSharingTypeText = 1,
    CDVEWXSharingTypeFile,
    CDVEWXSharingTypeImage,
    CDVEWXSharingTypeVideo,
    CDVEWXSharingTypeLink,
    CDVEWXSharingTypeForward,
    CDVEWXSharingTypeMinApp,
};

@interface CDVEnterpriseWechat:CDVPlugin <WWKApiDelegate>

@property (nonatomic, strong) NSString *currentCallbackId;
@property (nonatomic, strong) NSString *agentId;
@property (nonatomic, strong) NSString *enterpriseId;
@property (nonatomic, strong) NSString *schema;


- (void)share:(CDVInvokedUrlCommand *)command;
- (void)isEWXAppInstalled:(CDVInvokedUrlCommand *)command;

@end
